package com.jlu155.CourseManager.entity;

import com.jlu155.CourseManager.repository.CourseRepository;

public class StudentCourse {
    private int student_id;
    private int course_id;
    private int grade;
    private int tc_id;

    //optional
    private Student student;
    private Course course;
    private TeachClass teachClass;
    // Getter 和 Setter 方法

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public TeachClass getTeachClass() {
        return teachClass;
    }

    public void setTeachClass(TeachClass teachClass) {
        this.teachClass = teachClass;
    }

    public int getStudent_id() {
        return student_id;
    }

    public void setStudent_id(int student_id) {
        this.student_id = student_id;
    }

    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getTc_id() {
        return tc_id;
    }

    public void setTc_id(int tc_id) {
        this.tc_id = tc_id;
    }
}
